﻿.cookie-consent-wrapper {
    position: fixed;
    bottom: 1.5rem;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    pointer-events: none;
}

.cookie-consent-popup {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    padding: 1.5rem;
    width: 95%;
    max-width: 480px;
    pointer-events: auto;
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0, 112, 249, 0.1);
}

    .cookie-consent-popup.visible {
        opacity: 1;
        transform: translateY(0);
    }

.popup-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.cookie-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.cookie-consent-popup h5 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #222;
    margin: 0;
    display: flex;
    align-items: center;
}

.cookie-consent-popup p {
    font-size: 0.92rem;
    line-height: 1.55;
    color: #555;
    margin-bottom: 1.5rem;
}

    .cookie-consent-popup p strong {
        color: var(--primary);
        font-weight: 600;
    }

.cookie-policy-link {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

    .cookie-policy-link:hover {
        color: var(--primary-light);
        text-decoration: underline;
    }

.cookie-consent-popup .btn-group-custom {
    display: flex;
    gap: 1rem;
    width: 100%;
}

.cookie-consent-popup .btn {
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 10px;
    transition: all 0.3s ease;
    flex: 1;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-size: 200% auto;
}

.cookie-consent-popup .btn-accept {
    background: linear-gradient(135deg, #0070F9 0%, #99CCFF 100%);
    color: #ffffff !important;
    box-shadow: 0 2px 4px rgba(0, 112, 249, 0.2);
}

    .cookie-consent-popup .btn-accept:hover {
        background: linear-gradient(135deg, #0058C7 0%, #66B3FF 100%);
        background-position: right center;
        box-shadow: 0 4px 8px rgba(0, 112, 249, 0.3);
        color: #ffffff !important;
    }

.cookie-consent-popup .btn-decline {
    background-color: #f0f2f2 !important;
    color: #555 !important;
}

    .cookie-consent-popup .btn-decline:hover {
        background-color: #e4e6e6 !important;
        color: #333 !important;
    }

.cookie-consent-popup .btn:active {
    transform: translateY(1px);
}

@media (max-width: 576px) {
    .cookie-consent-wrapper {
        bottom: 1rem;
    }

    .cookie-consent-popup {
        padding: 1.25rem;
        width: calc(100% - 2rem);
    }

        .cookie-consent-popup .btn-group-custom {
            gap: 0.75rem;
        }

        .cookie-consent-popup .btn {
            padding: 0.7rem 0.5rem;
            font-size: 0.9rem;
        }
}
